<template>
	<view class="page">
		<view class="body">
			<u-parse :content="holiday" />
		</view>
	</view>
</template>

<script>
	import {
		companyContent
	} from "@/request/homeApi.js";
	export default {
		data() {
			return {
				holiday: null,
			};
		},
		onLoad() {
			this.getList();
		},
		methods: {
			// 获取公司简介
			getList() {
				let that = this
				companyContent().then((res) => {
					if (res.code == 200) {
						that.holiday = res.data;
					} else {
						uni.showToast({
							title: res.msg,
							duration: 1500,
							icon: 'none',
						})
					}
				});
			},
		},
	};
</script>

<style lang="scss" scoped>
	.page {
		.body {
			width: 100%;
			padding: 24rpx 28rpx;
			min-height: 100rpx;
			box-sizing: border-box;
			// background-color: #D2E4D6;
			height: 100vh;
			overflow-y: auto;
			font-size: 30rpx;
		}
	}
</style>
